import App from './App'

// #ifndef VUE3
import Vue from 'vue'
import './uni.promisify.adaptor'
// import uniList from 'uni-list';

// Vue.component('uniList', uniList);
Vue.config.productionTip = false
Vue.prototype.$global = {
	personInfo: {
		"openid": "111111",
		"username": "默认用户",
		"gender": 1,
		"age": 20,
		"describe": "无",
		"favorite": "无",
		"imgurl": "personImage/111111$$%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_20240315155634.jpg",
		"city": "昆明",
	},
	swiper: ['/static/ad1.jpg', '/static/ad2.jpg', '/static/ad3.jpg']
}

App.mpType = 'app'
const app = new Vue({
	...App
})
app.$mount()
// #endif

// #ifdef VUE3
import {
	createSSRApp
} from 'vue'
export function createApp() {
	const app = createSSRApp(App)
	return {
		app
	}
}
// #endif